/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.posplus.losspreventiondataimporter.service;

import com.posplus.strack.POSDAOFactory;
import com.posplus.strack.TransDAOFactory;
import com.posplus.strack.dao.LaneInfoDAO;
import com.posplus.strack.mapping.LaneInfo;
import java.util.List;

/**
 *
 * @author scottw
 */
public class LaneInfoService {

    private LaneInfoDAO laneInfoDAO;
    
    public LaneInfoService(TransDAOFactory svtFactory) {
        this.laneInfoDAO = svtFactory.getLaneInfoDAO();
    }

    public List<LaneInfo> getAll() {
        return laneInfoDAO.findAll();
    }
}
